package com.d2rv.model;

import java.io.File;
import processing.core.PApplet;

/**
 * Manager for th Goal model
 *
 * @author Darrieutort A., Dupouy A., Rossignol L., Van Poucke A.
 */
public class GoalModelManager {

    private GoalModel objectivemodeldestination;
    private GoalModel objectivemodelcourse;

    /**
     * Default constructor.
     *
     * @param parent The current application
     */
    public GoalModelManager(PApplet parent) {
        this.objectivemodeldestination = new GoalModel(parent, parent.dataPath("models" + File.separator + "goal" + File.separator + "goal.obj"));
        this.objectivemodelcourse = new GoalModel(parent, parent.dataPath("models" + File.separator + "course_1" + File.separator + "course_1.obj"));
    }

    /**
     * Returns the objectivemodeldestination 
     *
     * @return the objectivemodeldestination 
     */
    public GoalModel destinationModel() {
        return this.objectivemodeldestination;
    }

    /**
     * Returns of the courseModel 
     * @return the courseModel 
     */
    public GoalModel courseModel() {
        return this.objectivemodelcourse;
    }
}